package com.example.vue20220225.service;

import com.example.vue20220225.model.UserInfo;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

// 用户服务类
public interface UserService {
    public Map<String,Object> list();

    Map<String, Object> add(UserInfo userInfo);

    Map<String, Object> deleteuser(Integer id);

    Map<String, Object> pagelist(UserInfo userInfo);

    Map<String, Object> login(UserInfo userInfo);

    Map<String, Object> queryPowerlist(UserInfo userInfo);

    Map<String, Object> queryUserlist(UserInfo userInfo);

    Map<String, Object> queryroles();

    Map<String, Object> editUserRoll(UserInfo userInfo);


    Map<String, Object> updateUserstats(UserInfo userInfo);

    Map<String, Object> queryrolespower(UserInfo userInfo);

    void importExcel(HttpServletResponse response);
}
